package com.itany.corejava.code07_面向对象.封装;

/**
 * @author: 石小俊
 * @date: 2023年03月07日 15:45
 * @version: 1.0
 */
public class Employee {

    private String name;
    // 员工是否在职,true:在职,false:离职
    private boolean status;

    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }
    public boolean isStatus(){
        return status;
    }

    public void setStatus(boolean status){
        this.status = status;
    }
}
